memop: adjust error checking in populate_physmap()
authorJan Beulich <jbeulich@suse.com>
Thu, 6 Dec 2012 13:19:15 +0000 (14:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Dec 2012 13:19:15 +0000 (14:19 +0100)
commit8e4addea279da7430d80514828f49013979117e6
tree23cc9a1ba61b187d340730b5dff80f8480a13e4e
parent16684ba0385590983b6145687b13a29956a2c8a6
memop: adjust error checking in populate_physmap()

Checking that multi-page allocations are permitted is unnecessary for
PoD population operations. Instead, the (loop invariant) check added
for addressing XSA-31 can be moved here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/memory.c